package com.tengroup.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tengroup.entity.ExampaperepEntity;
import com.tengroup.entity.PracticeepEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PracticeepDao extends BaseMapper<PracticeepEntity> {
    @Select("SELECT * FROM practiceep WHERE practice_id = #{practiceId}")
    List<PracticeepEntity> findByPracticeId(@Param("practiceId") Long practiceId);

}
